package com.xzit.headline.net;

import com.xzit.headline.bean.MoreData;
import com.xzit.headline.bean.NewListData;
import com.xzit.headline.bean.PicData;
import com.xzit.headline.bean.ResponseData;
import com.xzit.headline.bean.VideoData;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Url;

public interface MyApi {
    @GET("home.json")
    public Call<ResponseData> getType();

    /*@GET("10007/list_1.json")
    public Call<NewListData> getNewList();*/

    @GET
    public Call<NewListData> getNewList(@Url String loadFirstUrl);

    @GET
    Call<MoreData> getMoreData(@Url String loadMoreUrl);

    @GET("photos/photos_1.json")
    Call<PicData> getPicData();

    @GET("video.json")
    Call<VideoData> getVideoData();

}
